<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>前台管理--公告管理</title>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
	</head>

	<body>
		<html:form action="/others/announcementManage" method="post">
			<input type="hidden" name="method" value="list" />
			<table width="100%" align="center">
				<tr>
					<th class="td_01">
						标题
					</th>
					<th class="td_01">
						内容
					</th>
					<th class="td_01">
						发布日期
					</th>
					<th class="td_01">
						发布作者
					</th>
					<th class="td_01">
						操作
					</th>
				</tr>
				<logic:present name="AnnouncementRange">
					<logic:iterate id="announcement" name="AnnouncementRange"
						property="records">
						<tr>
							<td class="td_03">
								${announcement.title}
							</td>
							<td width="30%" class="td_02">
								${announcement.content}
							</td>
							<td class="td_03">
								${announcement.publishDate}
							</td>
							<td class="td_03">
								${announcement.publishUser}
							</td>
							<td class="td_03">
								<a
									href="${ctx}/others/announcementManage.do?method=edit&announcement.id=${announcement.id}">修改</a>
								&nbsp;&nbsp;&nbsp;&nbsp;
								<a href="#"
									onmousedown="if(confirm('是否删除？')==true)  location.href='${ctx}/others/announcementManage.do?method=delete&announcement.id=${announcement.id}'">删除</a>
							</td>
						</tr>
						<input type="hidden" name="announcement.del" />
					</logic:iterate>
				</logic:present>
				<tr>
					<td colspan="6" align="right">
						<div style="float: left">
							&nbsp;&nbsp;&nbsp;&nbsp;
							<a href="${ctx}/others/announcementManage.do?method=add">添&nbsp;&nbsp;加</a>
						</div>
						<%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
				</tr>
			</table>
		</html:form>
	</body>
</html>